package com.mtf.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @Author matengfei
 * @Date 2024/7/4 11:01
 * @PackageName:com.mtf.config
 * @ClassName: RedisConfig
 * @Description: yml配置文件属性值读取类
 * @Version 1.0
 */
@Component
@Data
public class RedisConfig {

    @Value("${spring.redis.host}")
    private String localhost;

}
